<?php
/**
 * Table Definition for customer
 */
require_once 'DB/DataObject.php';

class DataObjects_Customer extends FRM_DataObject 
{
    ###START_AUTOCODE
    /* the code below is auto generated do not remove the above tag */

    public $__table = 'customer';                        // table name
    public $_database = 'garage';                        // database name (used with database_{*} config)
    public $id;                              // int(4)  primary_key not_null
    public $username;                        // varchar(255)  
    public $password;                        // varchar(255)  
    public $firstname;                       // varchar(255)  
    public $lastname;                        // varchar(255)  
    public $email;                           // varchar(255)  
    public $address;                         // text()  
    public $postcode;                        // int(4)  
    public $place;                           // varchar(255)  
    public $telephone;                       // varchar(128)  
    public $mobilephone;                     // varchar(128)  
    public $date_create;                     // datetime()  
    public $lastvisit;                       // datetime()  
    public $sex;                             // tinyint(1)  
    public $is_controller;                   // tinyint(1)  

    /* Static get */
    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('DataObjects_Customer',$k,$v); }

    /* the code above is auto generated do not remove the tag below */
    ###END_AUTOCODE
}
